<?php

namespace addons\qingdongams\model;

use think\Model;

/**
 *工单其他信息表
 */
class WorkorderOther Extends Model {

    protected $name  = 'qingdongams_workorder_other';
	// 开启自动写入时间戳字段
	protected $autoWriteTimestamp = false;


	public static function getOther($id){
		$other = self::where(['id' => $id])->value('other');
		if($other){
			$other=json_decode($other,true);
		}else{
			$other=[];
		}
		return $other;
	}
}
